@extends('admin.layout.index')
@section('content')
<div class="col-lg-12">
	<div class="card">
        <div class="card-action">
            商品详情添加
        </div>
        <div class="card-content">
    <form class="col s12" id="ffform" action="/admin/goods/doadd2" enctype="multipart/form-data" method="post">
    	{{ csrf_field() }}
      <div class="row">
        <div class="input-field col s6">
          <input placeholder="请输入属性名" id="first_name1" name="first_name1" type="text" class="validate">
          <label for="first_name1">属性名</label>
        </div>
        <div class="input-field col s6">
          <input name="last_name1" name="last_name1" type="text" class="validate" info="ab">
          <label for="last_name1">属性值</label>
        </div>
      </div>
		<input type="hidden" name="gid" value="{{ $gid }}">
      <div class="input-field col s12" id="pppass">
          <input id="password" type="text" name="title" class="validate" requried>
          <label for="password" class="">商品标题（搜索用）</label>
        </div>
        <div class="input-field col s12" id="">
          <input id="passwords" type="text" name="detail" class="validate" requried>
          <label for="passwords" class="">商品详情（展示用）</label>
        </div>
		<input type="file" name="image1" required>
		<input type="file" name="image2" required>
		<input type="file" name="image3" required>
		<input type="file" name="image4" required>
		<input type="file" name="image5" required>
		<hr>
		<button type="submit" class="btn btn-default" onclick=""> 提交 </button>
    </form>
    <hr>
   	<a class="waves-effect waves-light btn" id="myaaa" href="javascript:;" onclick="myadd()">追加属性</a>
	<div class="clearBoth"></div>
  </div>
    </div>
 </div>
@endsection
@section('classified')
<script src="/adminassets/goodsIndexJs/goodsadd2.js"></script>
@endsection